import sys
import os

sys.path.insert(0, '../')
os.environ['DJANGO_SETTINGS_MODULE'] = 'bookdemo.settings'
import django
django.setup()

print('django env load success!')